package com.xplay.xpocker.mapper;

import com.xplay.xpocker.entity.GameRuRoomUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xplay.xpocker.entity.RoomUserDTO;
import org.springframework.beans.factory.annotation.Value;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xplay
 * @since 2023-08-18
 */
public interface GameRuRoomUserMapper extends BaseMapper<GameRuRoomUser> {
    List<RoomUserDTO> allRoomUser(@Value(value = "uid") BigDecimal uid);
}
